home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1999 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: centre.univ-orleans.fr!news
  2. From: Philippe LATREMOLIERE <phlatrem@cnrs-orleans.fr>
  3. Newsgroups: comp.lang.c
  4. Subject: Algorithm to convert from 24 bits to 8 bits
  5. Date: 18 Jan 1996 08:47:32 GMT
  6. Organization: CNRS / LPCE
  7. Message-ID: <4dl1f4$mea@centre.univ-orleans.fr>
  8. NNTP-Posting-Host: eguzon.cnrs-orleans.fr
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.4 sun4m)
  13. X-URL: news:comp.lang.c
  14.  
  15. Hi !
  16. Where can I find an algorithm which do the following :
  17. take a 24 bits image (reg, green, blue array, each one of 8 bits) and return
  18. an image with indexes on a palette of 256 colors (8 bits) ?
  19.  
  20.     THANX A LOT
  21.  
  22.                                            ///'         ///' 
  23. /-----------------------------------\      \  /'      ,/  _'
  24.                                      \      \  /'   ,/   _'
  25.  Philippe LATREMOLIERE                \      \  /' /    _'
  26.                                        \      \__'/    -'
  27.  CNRS/LPCE, 3A Av Recherche Scientifique\     ,''/   -'
  28.  45071 ORLEANS CEDEX 2, FRANCE           \   ;,)-^__\`\`.
  29.                                           \  (/   \\ \\\`\.
  30.   Phone  : (33) 38 51 76 22                \      // // \\\\
  31.   Fax    : (33) 38 63 12 34                 \--- ((' ((-- ``` ->
  32.   E-mail : phlatrem@cnrs-orleans.fr
  33.   WWW    : http://web.cnrs-orleans.fr/~phlatrem/phlatrem.html
  34. \----------------------------------------------------------->
  35.  
  36.